/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package plagiadetector.driver;

import java.util.ArrayList;
import plagiadetector.utility.FileUtils;

/**
 *
 * @author Dell
 */
public class FileUtilsDriver {
   
    public static void main(String[] args){
        ArrayList<String> fileList = FileUtils.getFileNames("corpusexamples\\PAN2011", "*.*"); 
        for(int i=0; i<fileList.size(); i++){
            System.out.println("file "+(i+1)+": "+fileList.get(i));
        }
        fileList = FileUtils.getSubDirectories("src");
        for(int i=0; i<fileList.size(); i++){
            System.out.println("subdir "+(i+1)+": "+fileList.get(i));
        }

    }
}
